// Copyright © SixtyFPS GmbH <info@slint.dev>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-1.2 OR LicenseRef-Slint-commercial

//include_path: ../../helper_components
import { MainWindow } from "main_window.slint";

/*

```cpp
auto handle = MainWindow::create();
const MainWindow &instance = *handle;
assert_eq(instance.get_some_prop(), 42);
```

```rust
let instance = MainWindow::new().unwrap();
assert_eq!(instance.get_some_prop(), 42);
```

```js
var instance = new slint.MainWindow({});
assert.equal(instance.some_prop, 42);
```

*/
